package kr.hyunist.androidcomplete02saeildamil.ch20;

import kr.hyunist.androidcomplete02saeildamil.*;
import android.app.*;
import android.os.*;
import android.widget.*;

public class WordListTest extends Activity implements OnWordChangedListener {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.wordlisttest);
	}
	
	public void onWordChanged(int index){
		TextView worddesc = (TextView) findViewById(R.id.wordlistfragmenttv);
		worddesc.setText(ListFragmentTest.DESC[index]);
	}
}
